TNL AVAILABLE
This command will return a value of one if the current device uses hardware TNL.
Return Integer=TNL AVAILABLE()
This command will return a value of one if the current device uses hardware TNL. TNL stands for Transformation and Lighting
TNL stands for Transformation and Lighting. Most cards these days support TNL in hardware as standard.
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
ObjectNumber=1
load object "models\model.x",ObjectNumber
print "MISC"
print "alphablending available:";alphablending available()
print "filtering available:";filtering available()
print "fog available:";fog available()
print "TnL available:";tnl available()
print "Polys on nscreen:";statistic(1)
while mouseclick()=0
sync
endwhile
while mouseclick()=1:endwhile
delete object ObjectNumber
end
BASIC3D Commands Menu
Index